//package com.qiaoda.web;
//
//import org.elasticsearch.client.Client;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.data.elasticsearch.core.ElasticsearchTemplate;
//import org.springframework.web.bind.annotation.RequestMapping;
//import org.springframework.web.bind.annotation.RestController;
//
///**
// * Created by Administrator on 2017/3/14 0014.
// */
//@RestController
//public class EsTemplateController {
//
//    @Autowired
//    private ElasticsearchTemplate esTemplate;
//    @Autowired
//    private Client client;
//
//    @RequestMapping("/esTemplate")
//    public Object getById() {
//        this.esTemplate.index()
//    }
//
//}
